def sqlDelete(db,dbDatabase,tableName,condition,verify):
    #预览请求：127.0.0.1:8888/jaina?go=sqlTool&action=4&tableName=user&condition=passwd="123"
    #执行请求：127.0.0.1:8888/jaina?go=sqlTool&action=4&tableName=user&condition=passwd="123"&verify=ok

    cursor = db.cursor()

    #查询将要操作表的表结构 模拟删除后的效果
    print("derBug SQL Statement: " + 'select COLUMN_NAME from information_schema.columns where TABLE_SCHEMA="' + dbDatabase + '" and TABLE_NAME="'+ tableName +'";')

    cursor.execute('select COLUMN_NAME from information_schema.columns where TABLE_SCHEMA="' + dbDatabase + '" and TABLE_NAME="'+ tableName +'";')
    result = cursor.fetchall()
    header = str(result).replace(",","").replace("(","").replace(")","").replace(" ",",")

    #查询将要删除的内容
    #derBug
    print("derBug SQL Statement: " + 'select * ' + 'from ' + tableName + ' where ' + condition + ';')
    cursor.execute('select * ' + 'from ' + tableName + ' where ' + condition + ';')
    body = cursor.fetchall()
    #body = str(result).replace(",","").replace("(","").replace(")","").replace(" ",",")

    #模拟删除后的表格 反向查询：=、like
    conditionPreview = condition.replace("=","!=").replace("like","not like")
    #derBug
    print("derBug SQL Statement: " + 'select * ' + 'from ' + tableName + ' where ' + conditionPreview + ';')
    cursor.execute('select * ' + 'from ' + tableName + ' where ' + conditionPreview + ';')
    table = cursor.fetchall()
    #table = str(result).replace(",","").replace("(","").replace(")","").replace(" ",",")

    if verify == 'ok':
        #执行删除
        cursor.execute('delete ' + 'from ' + tableName + ' where ' + condition + ';')
        cursor.fetchone()
        #提交数据
        db.commit()
        db.close()
    #返回s删除后的表格
    ren = {'msg':'Delete Row','header':header,'body':body,'table':table,'msg_code':200}
    return ren